<template>
  <div id="app">
     <router-view></router-view>
    <FooterGuide v-show="$route.meta.requiresAuth"></FooterGuide>
  </div>
</template>

<script>
import FooterGuide from "./components/FooterGuide/FooterGuide";
export default {
  name: "App",
  components: {
    FooterGuide,
  },
  mounted() {
    console.log(11)
       //一进入页面重新去获取一下用户信息(自动登录)
    this.$store.dispatch('getUserInfo')
  },
  
};
</script>


<style lang='stylus'>
#app {
  width 100%
  height 100%
  background #f5f5f5
  position relative

}
</style>
